package com.yserp.hg.service;
import com.yserp.hg.entity.HgOrdrEntity;
import com.yserp.hg.entity.HgRdr1Entity;
import com.yserp.hg.entity.HgRdr2Entity;
import com.yserp.hg.entity.HgRdr3Entity;

import java.util.List;
import org.jeecgframework.core.common.service.CommonService;
import java.io.Serializable;

public interface HgOrdrServiceI extends CommonService{
	
 	public <T> void delete(T entity);
	/**
	 * 添加一对多
	 * 
	 */
	public void addMain(HgOrdrEntity hgOrdr,
                        List<HgRdr1Entity> hgRdr1List, List<HgRdr2Entity> hgRdr2List, List<HgRdr3Entity> hgRdr3List) ;
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(HgOrdrEntity hgOrdr,
                           List<HgRdr1Entity> hgRdr1List, List<HgRdr2Entity> hgRdr2List, List<HgRdr3Entity> hgRdr3List);
	public void delMain(HgOrdrEntity hgOrdr);
	
 	/**
	 * 默认按钮-sql增强-新增操作

	 * @return
	 */
 	public boolean doAddSql(HgOrdrEntity t);
 	/**
	 * 默认按钮-sql增强-更新操作

	 * @return
	 */
 	public boolean doUpdateSql(HgOrdrEntity t);
 	/**
	 * 默认按钮-sql增强-删除操作

	 * @return
	 */
 	public boolean doDelSql(HgOrdrEntity t);
}
